package shiro.authc.sys.mapper;

import org.apache.ibatis.annotations.Param;
import shiro.authc.sys.entity.User;

public interface UserMapper
{
	int deleteByPrimaryKey(Long id);

	int insert(User record);

	int insertSelective(User record);

	User selectByPrimaryKey(Long id);

	User selectUserByUsername(@Param("username") String username);

	int updateByPrimaryKeySelective(User record);

	int updateByPrimaryKey(User record);
}